package com.hc.domain;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author: hecai
 * @date: 2021/11/9 11:17
 * @description:
 */
@Getter
@Setter
@ToString
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class User implements Serializable {

    private static final long serialVersionUID = 6357528845064191241L;

    /**
    * 编号
    */
    private Long id;

    /**
    * 昵称
    */
    private String nickname;

    /**
    * 大头相
    */
    private String avatar;

    /**
    * 登录名
    */
    private String account;

    /**
    * 密码
    */
    private String password;

    /**
    * 性别   1男  2女  3未知
    */
    private Integer gender;

    /**
    * 电话
    */
    private String tel;

    /**
    * 邮编
    */
    private String email;

    /**
    * QQ
    */
    private String qq;

    /**
    * 微信
    */
    private String wechat;

    /**
    * 盐值
    */
    private String salt;

    /**
    * 备注
    */
    private String info;

    /**
    * 状态 0:正常,1:禁用,2:删除,3:未激活
    */
    private Integer status;

    /**
    * 注册时间
    */
    private LocalDateTime createTime;

    /**
    * 更新时间
    */
    private LocalDateTime updateTime;
}